<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>管理页面</title>
        <link href="images/s2.css" rel="stylesheet" type="text/css" />
        <link href="images/skin.css" rel="stylesheet" type="text/css" />
        <script src="js/jquery-1.6.4.min.js" type="text/javascript"></script>
        <script src="js/data.js" type="text/javascript"></script>
        <style type="text/css">
            <!--
            body {
                margin-left: 0px;
                margin-top: 0px;
                margin-right: 0px;
                margin-bottom: 0px;
                background-color: #EEF2FB;
            }
            
            table.listbox{margin-top:10px;background-color: #999; font-size: 12px}
            .listbox tr th{background-color: #EEE; text-align: center}
            .listbox tr td{background-color: #FFF}
            -->
        </style>
        <body>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="17" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td>
                    <td valign="top" background="images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
                            <tr>
                                <td height="31"><div class="titlebt">{=$cinfo.cname=}</div></td>
                                <td align="right"><a href="{=$base=}/?c=cmslink&a=edit&space={=$space=}&idx={=$idx=}&page={=$page=}">添加</a></td>
                            </tr>
                        </table></td>
                    <td width="16" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29" /></td>
                </tr>
                <tr>
                    <td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
                    <td valign="top" bgcolor="#F7F8F9">
                        
                        
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6">
          <tr class="head">
            <td width="20%">标题</td>
            {=if $cinfo.settings.i_subtitle.flag=}<td width="15%">{=$cinfo.settings.i_subtitle.name=}</td>{=/if=}
            {=if $cinfo.settings.i_link.flag=}<td width="15%">{=$cinfo.settings.i_link.name=}</td>{=/if=}
            {=if $cinfo.settings.i_img.flag=}<td width="15%">{=$cinfo.settings.i_img.name=}</td>{=/if=}
            <td width="10%">状态</td>
            {=if $cinfo.settings.is_sort=}<td width="10%">排序</td>{=/if=}
            <td>&nbsp;</td>
          </tr>
          {=foreach from=$list item=item=}
          <tr class="data">
            <td>{=$item.title=}</td>
            {=if $cinfo.settings.i_subtitle.flag=}<td>{=$item.subtitle=}</td>{=/if=}
            {=if $cinfo.settings.i_link.flag=}<td>{=$item.link=}</td>{=/if=}
            {=if $cinfo.settings.i_img.flag=}<td><img src="{=$root=}/uploads/{=$item.img=}" height="50" /></td>{=/if=}
            <td>{=if $item.status=}<a href="javascript:;">开启</a>{=else=}<a href="javascript:;">关闭</a>{=/if=}</td>
            {=if $cinfo.settings.is_sort=}
            <td>
                <a href="?c=cmslink&a=sort&id={=$item.id=}&t=up&space={=$space=}&idx={=$idx=}&page={=$page=}"><img src="{=$base=}/images/up.gif" /></a>
                <a href="?c=cmslink&a=sort&id={=$item.id=}&t=down&space={=$space=}&idx={=$idx=}&page={=$page=}"><img src="{=$base=}/images/down.gif" /></a>
            </td>
            {=/if=}
            <td>
                <a href="{=$base=}/?c=cmslink&a=edit&space={=$space=}&idx={=$idx=}&id={=$item.id=}">编辑</a>&nbsp;
                <a href="{=$base=}/?c=cmslink&a=del&id={=$item.id=}&space={=$space=}&idx={=$idx=}" onclick="return confirm('确认要删除吗？');">删除</a>
            </td>
          </tr>
          {=/foreach=}
        </table></td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td height="35"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center">
            <div class="link_03">
            {=$page_html=}
            <!--
                <div class="pptv_pages"><span>共17条</span><span>1/1页</span><span>首页</span><span><<</span><span>上一页</span><div><a href="javascript:;" class="current">1</a></div><span>下一页</span><span>>></span><span>尾页</span><div><select onchange="document.location.href=this.value;"><option value="/?g=cms&m=sort&p=1" selected="selected">第1页</option></select></div></div>
                -->
            </div>
        </td>
      </tr>
    </table></td>
  </tr>
</table>
                        
                        
                    </td>
                    <td background="images/mail_rightbg.gif">&nbsp;</td>
                </tr>
                <tr>
                    <td valign="bottom" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
                    <td background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17"></td>
                    <td valign="bottom" background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td>
                </tr>
            </table>

        </body>
</html>